Pod::Spec.new do |s|
  s.name             = "MMShareKit"
  s.version          = "1.0.0"
  s.summary          = "分享模块"
  s.homepage         = "https://gitee.com/wing520369.com/"
  s.license          = 'NOLICENSE'
  s.author           = { "wuchuanrong" => "514201835@qq.com" }
  s.source           = { :git => 'https://gitee.com/wing520369/mmshare-kit.git' }
  s.platform         = :ios, '11.0'
  s.swift_version    = '5.0'
  
  s.pod_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64'}
  s.pod_target_xcconfig = { 'OTHER_LDFLAGS' => '-ObjC' }
  s.user_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64'}
  
  s.dependency 'SnapKit'
  
  s.subspec 'NoSDK' do |ss|
    ss.source_files = 'MMShareService/Util/**/*.swift', 'MMShareService/MMShareService.h'
    # 加载资源文件
    ss.resources = 'MMShareService/Util/**/*.{png,xib}'
    ss.libraries = 'c++', 'z'
    ss.frameworks = 'webkit'
  end

  s.subspec 'Full' do |ss|
    ss.source_files = 'MMShareService/Util/**/*.swift', 'MMShareService/MMShareService.h'
    # 加载资源文件
    ss.resources = 'MMShareService/Util/**/*.{png,xib}'
    ss.vendored_library = 'MMShareService/OpenSDK/libWeChatSDK.a'
    ss.libraries = 'c++', 'z'
    ss.frameworks = 'webkit'
  end

  
end
